package com.pagoda.nerp.trade.service;

import com.pagoda.nerp.trade.entity.AccRole;

import java.util.List;
import java.util.Map;

/**
 * Created by dell on 2016/11/24.
 */
public interface RoleService {


    int addRole(AccRole roleInfo);


    int updateRole(AccRole accRoleInfo);


    List<AccRole> queryRoleListByRoleName(String roleName);

    AccRole queryRoleByRoleIdOrRoleCode(Map<String, String> map);


    AccRole queryRoleByRoleId(int roleId);

}
